import config from '@/config';
import http from '@/utils/request';

export default {
	page: {
		url: `${config.API_URL}/prodtranssnrecord/pages/`,
		name: '分页',
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
	list: {
		url: `${config.API_URL}/prodtranssnrecord/list/`,
		name: '列表',
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
};
